package com.nbsaas.lbs.qq.placeCloud.app;

import com.nbsaas.lbs.qq.placeCloud.api.DataService;
import com.nbsaas.lbs.qq.placeCloud.domain.DataDeleteRequest;
import com.nbsaas.lbs.qq.v1.domain.response.Poi;

import java.util.List;

public class AppList {

    public static void main(String[] args) {

        DataService dataService=new DataService();
        DataDeleteRequest createRequest=new DataDeleteRequest();
        createRequest.setKey("LUCBZ-NE5KK-7UEJH-AFXWU-3Q6SO-PPFQI");
        createRequest.setTableId("6047172d702f8b4c535a1a5c");
      List<Poi> pois=  dataService.list(createRequest);
        for (Poi poi : pois) {
            System.out.println(poi);
        }
    }
}
